// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import store from './store'
import router from './router'
import iView from 'iview'
import Modal from '@/components/plugin/modal'
import BaiduMap from 'vue-baidu-map'
import '@/assets/style/index.less'
import '@/assets/style/style.css'
import 'babel-polyfill'

Vue.config.productionTip = false
Vue.use(Modal, {store})
Vue.use(iView)
Vue.use(BaiduMap, {
  ak: 'NdmCgg96HrOdtXxjy5HGywWO11RSidTh'
})
/* eslint-disable no-new */
new Vue({
  el: '#app',
  store,
  router,
  template: '<App/>',
  components: {App}
})
